getdate
Get date/time information
The getdate()
function returns the date/time information of a certain timestamp or the current local date/time.
Returns the date/time information of the current local date/time:
<?php print_r ( getdate ( ) ) ; ?>
Try it yourself
getdate ( timestamp ) ;
parameter | describe |
---|---|
timestamp | Optional. Specifies Unix timestamps, integer values. The default is the current local time (time()). |